package sword;

/**
 * @Author: 海琳琦
 * @Date: 2022/5/25 17:15
 */
public class Title17 {

    public int[] printNumbers(int n) {
        //n = 十进制的位数
        int[] arr = new int[(int) Math.pow(10, n) - 1];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = i + 1;
        }
        return arr;
    }

    public static void main(String[] args) {

    }
}
